package org.example.project.service;

import org.example.project.entity.RecognizeResult;

import java.io.IOException;

/**
 * @Author 岩
 * @Package org.example.project.service
 * @Project MyApp
 * @Name plantRecognize
 * @Date 2024-05-03 15:18
 * @Filename plantRecognize
 */
public interface PlantRecognizeService {
    /**
     * 识别图片
     * @param imagePath 图片地址
     * @throws IOException 异常
     * @return 识别结果
     */
    RecognizeResult recognize(String imagePath) throws IOException;
}
